package com.example.learnvien;

import com.example.learnvien.assets.Assets;
import com.example.learnvien.utils.SoundUtil;

import android.app.Application;

public class LearnViEnApplication extends Application
{
    private static LearnViEnApplication sInstance;

    public static LearnViEnApplication getInstance()
    {
        return sInstance;
    }

    @Override
    public void onCreate()
    {
        super.onCreate();
        sInstance = this;
        
        SoundUtil.init();
    }
    
    public void changeLanguage(boolean isVi)
    {
        Assets.sIsVi = isVi;
    }
}
